package com.community.web.master.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.community.model.entity.User;
import com.community.web.master.domain.vo.UserWithRoleVo;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 李晶
 * @since 2024-07-02
 */
public interface UserMapper extends BaseMapper<User> {

    List<UserWithRoleVo> selectPageByMap(Map<String, Object> map);

    Long selectCountUser(Map<String,Object> map);
}
